package com.fc.mall.dto;

import lombok.Getter;
import lombok.Setter;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecgframework.poi.excel.annotation.ExcelTarget;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Getter
@Setter
@ExcelTarget("orderItemExcel")
public class OmsOrderItemExcel implements Serializable {

    @Excel(name = "订单编号", orderNum = "1")
    private String orderSn;

    @Excel(name = "标题", orderNum = "2")
    private String productName;

    @Excel(name = "价格", orderNum = "3")
    private BigDecimal productPrice;

    @Excel(name = "购买数量", orderNum = "4")
    private Integer productQuantity;

    @Excel(name = "支付金额", orderNum = "5")
    private BigDecimal paymentAmount;

    @Excel(name = "商品属性", orderNum = "6")
    private String sp;

    @Excel(name = "套餐信息", orderNum = "7")
    private String promotionInfo;

    @Excel(name = "备注", orderNum = "8")
    private String note;

    @Excel(name = "订单状态", replace = {"待付款_0", "待发货_1", "已发货_2", "已完成_3", "已关闭_4", "无效订单_4"}, orderNum = "9")
    private Integer status;

    @Excel(name = "下单时间", format = "yyyy-MM-dd HH:mm:ss", orderNum = "10")
    private Date createTime;

    @Excel(name = "会员昵称", orderNum = "11")
    private String nickname;

    @Excel(name = "收件人", orderNum = "12")
    private String receiver;

    @Excel(name = "联系电话", orderNum = "13")
    private String phone;

    @Excel(name = "收货地址", orderNum = "14")
    private String receiverAddress;



}
